/*
 * Copyright(c) 2020-2100 万达信息股份有限公司 版权所有
 * WONDERS INFORMATION CO., LTD. ALL RIGHTS RESERVED.
 */

package com.wondersgroup.abstractfactory.moder;

import com.wondersgroup.abstractfactory.AbstractFactory;
import com.wondersgroup.abstractfactory.Food;
import com.wondersgroup.abstractfactory.Vehicle;
import com.wondersgroup.abstractfactory.Weapon;
/**
 * 任意定制产品一族
 * @author: huym
 * @version: 1.0
 * @date: 2020/12/10
 */
public class ModerFactoy extends AbstractFactory {
    @Override
    public Food createFood() {
        return new Bread();
    }

    @Override
    public Vehicle createVehicle() {
        return new Car();
    }

    @Override
    public Weapon createWeapon() {
        return new AK47();
    }
}